import React,{Component} from 'react-native'
import {createStackNavigator,createAppContainer,createDrawerNavigator} from 'react-navigation'
import {TabNav} from './TabNav';

import SettingPage from './page/setting';

const sideBar = createDrawerNavigator({
    Setting:SettingPage
});
const AppNavigator = createStackNavigator(
    {
        sideBar:sidePage,
        Main:TabNav
    }
)

export default createAppContainer(MainPage)